def recurse(n,s):
	if n == 0:
		print(s)
	else:
		recurse(n-1, n+s)
		print("test-",s)

recurse(3,0)